﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rbac.Domain.Menus
{
    public class Menu: Entity
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单编码
        /// </summary>
        public string MenuCode { get; set; }
        /// <summary>
        /// 菜单类型
        /// </summary>
        public MenuType MenuType { get; set; }
        /// <summary>
        /// 父菜单ID
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 组件路径
        /// </summary>
        public string ComponentPath { get; set; }
        /// <summary>
        /// 路由地址
        /// </summary>
        public string RoutePath { get; set; }
        /// <summary>
        /// 目录图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 节点路径
        /// </summary>
        public string ParentPath { get; set; }
    }
}
